package cn.rui.mapper;

import cn.rui.pojo.User;
import com.github.pagehelper.Page;

import java.util.Set;

public interface UserMapper {

    public User findByUsername(String username);

    Page<User> findPage(String queryString);

    Set<String> findRoleByUserId(Integer id);

    User findById(Integer id);

    void update(User user);
}
